package org.cyhz.domain;

/**
 * 
 * @Title: SSeriesVO.java
 * @Package org.cyhz.domain
 * @Description: 标准车系
 * @author Corleone
 * @date 2013年11月20日 上午11:52:08
 * @version V1.0
 */
public class SsVO {

	private int id;
	private String series;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getSeries() {
		return series;
	}

	public void setSeries(String series) {
		this.series = series;
	}

	public SsVO() {
	}

	public SsVO(int id, String series) {
		this.id = id;
		this.series = series;
	}

	public boolean equals(Object o) {
		boolean flag = false;
		if (o instanceof SsVO) {
			if (this.getSeries().equals(((SsVO) o).getSeries())) {
				flag = true;
			}
		}
		return flag;
	}

	@Override
	public int hashCode() {
		return this.getSeries().hashCode();
	}

	@Override
	public String toString() {
		return "SsVO [id=" + id + ", series=" + series + "]";
	}

}
